package com.chen.service.impl;

import com.chen.dao.ArticleTypeMapper;
import com.chen.pojo.ArticleType;
import com.chen.service.ArticleTypeService;

public class ArticleTypeServiceImpl implements ArticleTypeService {
    //组合mapper
    private ArticleTypeMapper articleTypeMapper;

    //set注入
    public void setArticleTypeMapper(ArticleTypeMapper articleTypeMapper) {
        this.articleTypeMapper = articleTypeMapper;
    }

    @Override
    public int addArt_type(ArticleType articleType) {

        return articleTypeMapper.addArt_type(articleType);
    }
}
